﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace MyFramework.Plugins.Core.Configuration.Const
{
    /// <summary>
    /// 
    /// </summary>
    public class JwtSetting
    {
        /// <summary>
        /// 接受者
        /// </summary>
        public string Audience { get; set; }
        /// <summary>
        /// 分发者
        /// </summary>
        public string Issuer { get; set; }
        /// <summary>
        /// 密钥
        /// </summary>
        public string SecurityKey { get; set; }
        /// <summary>
        /// JWT有效期(分钟=默认120)
        /// </summary>
        public int ExpMinutes { get; private set; } = 120;
    }
}
